package com.dao;

import entity.MenuEntity;
import entity.UserEntity;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * Created by john on 2016/4/24.
 */
@Repository
public class MenuDao extends BaseDao<MenuEntity> {
    public List myMenuTree(UserEntity userEntity) {
        return find("from MenuEntity");
    }
}
